﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XModify
{
    public class XConsole
    {
        public void Write(string message)
        {
            Console.Write(message);
        }

        public void WriteLine(string message)
        {
            Console.WriteLine(message);
        }

        public void Log(object o)
        {
            Console.WriteLine(o);
        }

        public void Error(object o)
        {
            ConsoleColor color = Console.BackgroundColor;
            Console.BackgroundColor = ConsoleColor.Red;
            Console.WriteLine(o);
            Console.BackgroundColor = color;
        }

        public void Pause()
        {
            Console.WriteLine("please enter any key to continue...");
            Console.ReadKey();
        }
    }
}
